package _example

import (
	"honeyweb/lib"
	"honeyweb/model"
)

func TestOnline() {
	params := &model.OnlineReq{
		Uid: 1,
	}
	var result model.OnlineResp
	lib.RPCClientRequest("status.online", params, &result)
}

func TestOnlineNum() {
	var result model.OnlineNumResp
	lib.RPCClientRequest("status.onlineNum", nil, &result)
}
